#pragma once

#include "event.h"
#include <string>

namespace Lab1
{
    class DataAEvent
            : public Event
    {
    public:
        explicit DataAEvent( const std::string & str );

        eType getType() const;
        eSource getSource() const;
        std::string getData() const;

    private:
        std::string data;
    };
}

